package com.example.yyjc.domain.countryanalyze;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.metadata.BaseRowModel;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import org.apache.ibatis.type.Alias;

/**
 * @ClassName MainTitleScale
 * @Description TODO
 * @Author lvyongwei
 * @Date 2020-11-18 9:38
 **/
@Data
@Alias("mainTitleScale")
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class MainTitleScale extends BaseRowModel {

    /**
     * 一级类目
     */
    @ExcelProperty(value = "一级类目名称")
    @ColumnWidth(value = 20)
    private String mainTitle;

    /**
     * 英文名称
     */
    @ExcelProperty(value = "英文名称")
    @ColumnWidth(value = 15)
    private String englishTitle;

    /**
     * 销售额
     */
    @ExcelProperty(value = "销售额")
    @ColumnWidth(value = 10)
    private double turnVolume;

    /**
     * 比例
     */
    @ExcelProperty(value = "比例")
    private String scale;

    /**
     * 国家名称
     */
    @ExcelProperty(value = "国家名称")
    @ColumnWidth(value = 15)
    private String countryName;

    /**
     * 日期
     */
    @ExcelProperty(value = "日期")
    private String createTime;
}
